package com.bdqn.membersystem.pojo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
    * 用户推荐记录表
    */
public class UserRefer implements Serializable {
    /**
    * refer_log_id
    */
    private String referLogId;

    /**
    * 推荐时间
    */
    private Date referTime;

    private String userId;

    private String referId;

    /**
    * 消费pv
    */
    private BigDecimal buyPv;

    /**
    * 奖金比率
    */
    private BigDecimal bonusRate;

    /**
    * 推荐奖励pv
    */
    private BigDecimal bonusPv;

    private static final long serialVersionUID = 1L;

    public String getReferLogId() {
        return referLogId;
    }

    public void setReferLogId(String referLogId) {
        this.referLogId = referLogId;
    }

    public Date getReferTime() {
        return referTime;
    }

    public void setReferTime(Date referTime) {
        this.referTime = referTime;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getReferId() {
        return referId;
    }

    public void setReferId(String referId) {
        this.referId = referId;
    }

    public BigDecimal getBuyPv() {
        return buyPv;
    }

    public void setBuyPv(BigDecimal buyPv) {
        this.buyPv = buyPv;
    }

    public BigDecimal getBonusRate() {
        return bonusRate;
    }

    public void setBonusRate(BigDecimal bonusRate) {
        this.bonusRate = bonusRate;
    }

    public BigDecimal getBonusPv() {
        return bonusPv;
    }

    public void setBonusPv(BigDecimal bonusPv) {
        this.bonusPv = bonusPv;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", referLogId=").append(referLogId);
        sb.append(", referTime=").append(referTime);
        sb.append(", userId=").append(userId);
        sb.append(", referId=").append(referId);
        sb.append(", buyPv=").append(buyPv);
        sb.append(", bonusRate=").append(bonusRate);
        sb.append(", bonusPv=").append(bonusPv);
        sb.append("]");
        return sb.toString();
    }
}